﻿using ServiceStack.DataAnnotations;

namespace WebCoreAdmin.Models
{
    [Alias("Category")]
    public class CategoryViewModel
    {
        [AutoIncrement]
        [PrimaryKey]
        public int Id { get; set; }
        public int ParentId { get; set; }
        public int Sort { get; set; }
        public string Content { get; set; }
        public string Url { get; set; }
    }
}